Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tweak contactql grammar to enforce stricter limits on condition left-hand sides #1251

Merged
merged 1 commit into from
May 14, 2024

Conversation

rowanseymour
Copy link
Member

No description provided.

Copy link

codecov bot commented May 14, 2024

Codecov Report

Attention: Patch coverage is 98.25581% with 3 lines in your changes are missing coverage. Please review.

Project coverage is 81.42%. Comparing base (83bc27a) to head (bc0ef23).

Files Patch % Lines
antlr/gen/contactql/contactql_parser.go 90.62% 2 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1251      +/-   ##
==========================================
+ Coverage   81.37%   81.42%   +0.05%     
==========================================
  Files         278      278              
  Lines       14607    14620      +13     
==========================================
+ Hits        11887    11905      +18     
+ Misses       2152     2148       -4     
+ Partials      568      567       -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@@ -20,6 +21,8 @@ COMPARATOR: (
| HAS
| IS
);
STRING: '"' (~["] | '\\"')* '"';
NAME: (UnicodeLetter | UnicodeDigit | '_' | ':')+;
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So that we can support something like field:num_goats

@rowanseymour rowanseymour merged commit 5646549 into main May 14, 2024
7 checks passed
@rowanseymour rowanseymour deleted the contactql_tweak branch May 14, 2024 20:13
@github-actions github-actions bot locked and limited conversation to collaborators May 14, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant